﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    //1、猫、狗、鸭、猴，（吃、游泳、爬树）
    class Program02
    {
        static void Main(string[] args)
        {
            Console.WriteLine("我是猴子噢！！");
            Monkey monkey = new Monkey();
            monkey.ClimbTree();
            monkey.Eat();
            Console.WriteLine("--------------");


            Console.WriteLine("我是鸭子噢！！");
            Duck duck = new Duck();
            duck.Eat();
            duck.swim();
            Console.WriteLine("--------------");


            Console.WriteLine("我是鸭子噢！！");
            Cat cat = new Cat();
            cat.Eat();
            cat.ClimbTree();
            Console.WriteLine("--------------");


            Console.WriteLine("我是鸭子噢！！");
            Dog dog = new Dog();
            dog.Eat();
            dog.ClimbTree();
            Console.WriteLine("--------------");
        }
    }
}
